﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lion
{
    public class JournalEntry
    {
        public virtual long ID { get; set; }
        public virtual string Description { get; set; }
        public virtual string Reference { get; set; }
        public virtual string TransactionID { get; set; }
        public virtual decimal Debit { get; set; }
        public virtual decimal Credit { get; set; }
        public virtual Account Account { get; set; }
        public virtual Voucher Voucher { get; set; }
        public virtual DateTime DOI { get; set; }
        public virtual AccountClass AccountClass { get; set; }
        public override int GetHashCode()
        {
            int hash = 7;
            hash = (int)(29 * hash + this.ID);
            return hash;
        }
    }
}
